package com.smart.status.payment.handler;

import com.smart.status.payment.alipay.vo.AlipayPaymentVo;
import com.smartStatus.core.util.R;

/**
 * @Author: liuby5
 * @CreateTime: 2022-09-07  15:13
 * @Description: 公共支付
 * @Version: 1.0
 */
public interface PaymentHandler {


    /**
     * 生成验证码支付
     * @param paymentVo
     * @return
     */
    R verificationCodePay(AlipayPaymentVo paymentVo);


    /**
     * 退款支付
     * @param paymentVo
     * @return
     */
    R refundPay(AlipayPaymentVo paymentVo);


    /**
     * 退款结果查询
     * @param paymentVo
     * @return
     */
    R refundQuery(AlipayPaymentVo paymentVo);


    /**
     * 订单明细查询
     * @param paymentVo
     * @return
     */
    R orderDetailQuery(AlipayPaymentVo paymentVo);


    /**
     * app 端手机支付
     * @param paymentVo
     * @return
     */
    R appSignPay(AlipayPaymentVo paymentVo);
}
